<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>nandpsu: xnandpsu.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">nandpsu
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xnandpsu_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xnandpsu.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8268e05a9d1a0339dc2ec672d7dd8c79"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga8268e05a9d1a0339dc2ec672d7dd8c79">XNandPsu_CfgInitialize</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, <a class="el" href="struct_x_nand_psu___config.html">XNandPsu_Config</a> *ConfigPtr, u32 EffectiveAddr)</td></tr>
<tr class="memdesc:ga8268e05a9d1a0339dc2ec672d7dd8c79"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes a specific <a class="el" href="struct_x_nand_psu.html" title="The XNandPsu structure contains the driver instance data. ">XNandPsu</a> instance.  <a href="group___overview.html#ga8268e05a9d1a0339dc2ec672d7dd8c79">More...</a><br/></td></tr>
<tr class="separator:ga8268e05a9d1a0339dc2ec672d7dd8c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37ffc74066c48716b787438f19b70684"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga37ffc74066c48716b787438f19b70684">XNandPsu_EnableDmaMode</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga37ffc74066c48716b787438f19b70684"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables DMA mode of controller operation.  <a href="group___overview.html#ga37ffc74066c48716b787438f19b70684">More...</a><br/></td></tr>
<tr class="separator:ga37ffc74066c48716b787438f19b70684"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5768fde1d2659e318fc72562300253c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaa5768fde1d2659e318fc72562300253c">XNandPsu_DisableDmaMode</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaa5768fde1d2659e318fc72562300253c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables DMA mode of driver/controller operation.  <a href="group___overview.html#gaa5768fde1d2659e318fc72562300253c">More...</a><br/></td></tr>
<tr class="separator:gaa5768fde1d2659e318fc72562300253c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f80ab5f2d18a988eb6f6672fdc99d7e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga0f80ab5f2d18a988eb6f6672fdc99d7e">XNandPsu_EnableEccMode</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga0f80ab5f2d18a988eb6f6672fdc99d7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables ECC mode of driver/controller operation.  <a href="group___overview.html#ga0f80ab5f2d18a988eb6f6672fdc99d7e">More...</a><br/></td></tr>
<tr class="separator:ga0f80ab5f2d18a988eb6f6672fdc99d7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02c8c1204e6c83f910cb4a2b1df423ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga02c8c1204e6c83f910cb4a2b1df423ed">XNandPsu_DisableEccMode</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga02c8c1204e6c83f910cb4a2b1df423ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables ECC mode of driver/controller operation.  <a href="group___overview.html#ga02c8c1204e6c83f910cb4a2b1df423ed">More...</a><br/></td></tr>
<tr class="separator:ga02c8c1204e6c83f910cb4a2b1df423ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf276d363e46822efd9ff8ee7b55b906c"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaf276d363e46822efd9ff8ee7b55b906c">XNandPsu_Write</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u64 Offset, u64 Length, u8 *SrcBuf)</td></tr>
<tr class="memdesc:gaf276d363e46822efd9ff8ee7b55b906c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function writes to the flash.  <a href="group___overview.html#gaf276d363e46822efd9ff8ee7b55b906c">More...</a><br/></td></tr>
<tr class="separator:gaf276d363e46822efd9ff8ee7b55b906c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7e291db556ad9d33fbd06aa6ab79cb6"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gad7e291db556ad9d33fbd06aa6ab79cb6">XNandPsu_Read</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u64 Offset, u64 Length, u8 *DestBuf)</td></tr>
<tr class="memdesc:gad7e291db556ad9d33fbd06aa6ab79cb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads from the flash.  <a href="group___overview.html#gad7e291db556ad9d33fbd06aa6ab79cb6">More...</a><br/></td></tr>
<tr class="separator:gad7e291db556ad9d33fbd06aa6ab79cb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7fb413a5f75317e698fe97ba12fc7d44"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga7fb413a5f75317e698fe97ba12fc7d44">XNandPsu_Erase</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u64 Offset, u64 Length)</td></tr>
<tr class="memdesc:ga7fb413a5f75317e698fe97ba12fc7d44"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function erases the flash.  <a href="group___overview.html#ga7fb413a5f75317e698fe97ba12fc7d44">More...</a><br/></td></tr>
<tr class="separator:ga7fb413a5f75317e698fe97ba12fc7d44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c4f4816209d1d66b9de152735046b0f"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga7c4f4816209d1d66b9de152735046b0f">XNandPsu_WriteSpareBytes</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u32 Page, u8 *Buf)</td></tr>
<tr class="memdesc:ga7c4f4816209d1d66b9de152735046b0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends ONFI Program Page command to flash.  <a href="group___overview.html#ga7c4f4816209d1d66b9de152735046b0f">More...</a><br/></td></tr>
<tr class="separator:ga7c4f4816209d1d66b9de152735046b0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a3f550f53d5c1d7ffead626cf0dd7c3"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga1a3f550f53d5c1d7ffead626cf0dd7c3">XNandPsu_ReadSpareBytes</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u32 Page, u8 *Buf)</td></tr>
<tr class="memdesc:ga1a3f550f53d5c1d7ffead626cf0dd7c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads spare bytes from flash.  <a href="group___overview.html#ga1a3f550f53d5c1d7ffead626cf0dd7c3">More...</a><br/></td></tr>
<tr class="separator:ga1a3f550f53d5c1d7ffead626cf0dd7c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59942044a415eacf3399b77b70fe3a20"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga59942044a415eacf3399b77b70fe3a20">XNandPsu_EraseBlock</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u32 Target, u32 Block)</td></tr>
<tr class="memdesc:ga59942044a415eacf3399b77b70fe3a20"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends ONFI block erase command to the flash.  <a href="group___overview.html#ga59942044a415eacf3399b77b70fe3a20">More...</a><br/></td></tr>
<tr class="separator:ga59942044a415eacf3399b77b70fe3a20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa6725c5aa761078a438094bad802045e"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaa6725c5aa761078a438094bad802045e">XNandPsu_GetFeature</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u32 Target, u8 Feature, u8 *Buf)</td></tr>
<tr class="memdesc:gaa6725c5aa761078a438094bad802045e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends ONFI Get Feature command to flash.  <a href="group___overview.html#gaa6725c5aa761078a438094bad802045e">More...</a><br/></td></tr>
<tr class="separator:gaa6725c5aa761078a438094bad802045e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga785eaf418c8f7e7c3fb6098ba327b720"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga785eaf418c8f7e7c3fb6098ba327b720">XNandPsu_SetFeature</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u32 Target, u8 Feature, u8 *Buf)</td></tr>
<tr class="memdesc:ga785eaf418c8f7e7c3fb6098ba327b720"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends ONFI Set Feature command to flash.  <a href="group___overview.html#ga785eaf418c8f7e7c3fb6098ba327b720">More...</a><br/></td></tr>
<tr class="separator:ga785eaf418c8f7e7c3fb6098ba327b720"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga22080a2813ff692c0b64e0bbd9715f91"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga22080a2813ff692c0b64e0bbd9715f91">XNandPsu_ChangeTimingMode</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, <a class="el" href="group___overview.html#gad3bf507eb42aeef24d208ad336af2354">XNandPsu_DataInterface</a> NewIntf, <a class="el" href="group___overview.html#ga9703b0526518be68242c0ed0d6752e57">XNandPsu_TimingMode</a> NewMode)</td></tr>
<tr class="memdesc:ga22080a2813ff692c0b64e0bbd9715f91"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function changes the data interface and timing mode.  <a href="group___overview.html#ga22080a2813ff692c0b64e0bbd9715f91">More...</a><br/></td></tr>
<tr class="separator:ga22080a2813ff692c0b64e0bbd9715f91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabfb036fc0238a5c54de831574c371450"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gabfb036fc0238a5c54de831574c371450">XNandPsu_Prepare_Cmd</a> (<a class="el" href="struct_x_nand_psu.html">XNandPsu</a> *InstancePtr, u8 Cmd1, u8 Cmd2, u8 EccState, u8 DmaMode, u8 AddrCycles)</td></tr>
<tr class="memdesc:gabfb036fc0238a5c54de831574c371450"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prepares command to be written into command register.  <a href="group___overview.html#gabfb036fc0238a5c54de831574c371450">More...</a><br/></td></tr>
<tr class="separator:gabfb036fc0238a5c54de831574c371450"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
